Documentation Groups

This website (grunt-docular.com) has the groups configuration set to an empty array. This is because there is no additional documentation necessary to generate for the "grunt-docular.com" site. Since the group configurations are built into Docular, we can just switch them on using the showDocularDocs flag which adds the Docular group into the mix at run time.

This is what it would look like if we were to manually add the Docular documetation group configuration:

module.exports = function(grunt) {

    // Project configuration
    grunt.initConfig({

        pkg: grunt.file.readJSON('package.json'),

        docular: {
            groups: [
                {
                    groupTitle: 'Docular',
                    groupId: 'docular',
                    groupIcon: 'icon-beer',
                    showSource: true,
                    sections: [
                        //section objects ommitted here
                    ]
                }
            ],
            //other configurations ommitted here for simplicity
        }

    });

    // Load the plugin that provides the "docular" tasks.
    grunt.loadNpmTasks('grunt-docular');

    // Default task(s).
    grunt.registerTask('default', ['docular']);

};